/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fleet.entity;


import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 维修费Entity
 * @author sld
 * @version 2017-11-24
 */
public class MaintainCost extends DataEntity<MaintainCost> {
	
	private static final long serialVersionUID = 1L;
	private String accident;		// 故障描述
	private String cause;		// 原因
	private String solution;		// 解决方法
	private String partsType;		// 零部件类型
	private String partsName;		// 零部件名称
	private String partsModel;		// 零部件型号
	private Integer quantity;		// 数量
	private Double money;		// 金额(元)
	private String flowDirection;		// 旧部件流向
	private String maintenanceShop;		// 维修厂
	private String billType;		// 票据类型
	private String paymentMethod;		// 付款方式
	private String responsiblePerson;		// 经办人
	
	public MaintainCost() {
		super();
	}

	public MaintainCost(String id){
		super(id);
	}

	@ExcelField(title="故障描述", align=2, sort=1)
	public String getAccident() {
		return accident;
	}

	public void setAccident(String accident) {
		this.accident = accident;
	}
	
	@ExcelField(title="原因", align=2, sort=2)
	public String getCause() {
		return cause;
	}

	public void setCause(String cause) {
		this.cause = cause;
	}
	
	@ExcelField(title="解决方法", align=2, sort=3)
	public String getSolution() {
		return solution;
	}

	public void setSolution(String solution) {
		this.solution = solution;
	}
	
	@ExcelField(title="零部件类型", align=2, sort=4)
	public String getPartsType() {
		return partsType;
	}

	public void setPartsType(String partsType) {
		this.partsType = partsType;
	}
	
	@ExcelField(title="零部件名称", align=2, sort=5)
	public String getPartsName() {
		return partsName;
	}

	public void setPartsName(String partsName) {
		this.partsName = partsName;
	}
	
	@ExcelField(title="零部件型号", align=2, sort=6)
	public String getPartsModel() {
		return partsModel;
	}

	public void setPartsModel(String partsModel) {
		this.partsModel = partsModel;
	}
	
	@ExcelField(title="数量", align=2, sort=7)
	public Integer getQuantity() {
		return quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	
	@ExcelField(title="金额(元)", align=2, sort=8)
	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}
	
	@ExcelField(title="旧部件流向", align=2, sort=9)
	public String getFlowDirection() {
		return flowDirection;
	}

	public void setFlowDirection(String flowDirection) {
		this.flowDirection = flowDirection;
	}
	
	@ExcelField(title="维修厂", align=2, sort=10)
	public String getMaintenanceShop() {
		return maintenanceShop;
	}

	public void setMaintenanceShop(String maintenanceShop) {
		this.maintenanceShop = maintenanceShop;
	}
	
	@ExcelField(title="票据类型", align=2, sort=11)
	public String getBillType() {
		return billType;
	}

	public void setBillType(String billType) {
		this.billType = billType;
	}
	
	@ExcelField(title="付款方式", align=2, sort=12)
	public String getPaymentMethod() {
		return paymentMethod;
	}

	public void setPaymentMethod(String paymentMethod) {
		this.paymentMethod = paymentMethod;
	}
	
	@ExcelField(title="经办人", align=2, sort=13)
	public String getResponsiblePerson() {
		return responsiblePerson;
	}

	public void setResponsiblePerson(String responsiblePerson) {
		this.responsiblePerson = responsiblePerson;
	}
	
}